STEP 15: If the user chose "b" the most, they are an astronaut! Enter b for every question to test your code.

  • Click LOGIC, then . Drop elif unindented at the bottom of the code.
  • Change the test variable to result and the test value to b_num.
  • Click GRAPHICS, then . Drop Space inside the elif-statement.
  • From add Say inside the elif-statement as well.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)